package routers

import (
	beego "github.com/beego/beego/v2/server/web"
	"manage/controllers"
)

func init() {
	beego.Router("/", &controllers.MainController{})
	beego.Router("/register", &controllers.RegisterController{}, "post:Register")
	beego.Router("/login", &controllers.WsterController{}, "post:Login")
}
